<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>我的导航 - 我做主</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="baidu-site-verification" content="03c1c01080768dfe2d5a00f3da4f2544"/>
    <meta name="keywords" content="上网导航,网址大全,网址导航,我的导航上网导航,我的导航网址,我的导航,我的导航网址大全,我的导航活动, 抽奖活动">
    <meta name="description" content="我的导航能够很方便的收藏、管理您的网址，并汇集很多优秀的网站及资源。及时收录影视、音乐、小说、游戏等分类的网址和内容，让您的网络生活更简单精彩。">
    <link rel="shortcut icon" href="/static/images/my_navigation.ico" type="image/x-icon">
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/signin.css">
    <link rel="stylesheet" href="/static/css/spigPet.css" type="text/css"/>
    <script type="text/javascript">
        var isindex = true;
        var visitor =  '';
        <?php if(isset($username) && !empty($username)){?>
            visitor =  "<?php echo $username;?>";
        <?php }?>
    </script>
</head>

<body>
<div>
    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand mynavigation" href="http://zwb8023.com/">我的导航</a>
            </div>
            <div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1">

                <div class="user-info-div" style="display:none;">
                    <a href="http://zwb8023.com/ucenter/ucenter/index?uid=<?php echo $uid ?>" class="text-primary u"></a>&nbsp;&nbsp;/&nbsp;&nbsp;
                    <a href="javascript:void(0);" id="loginOut" class="text-primary">退出</a>
                </div>
                <ul class="user-login-reg-div nav navbar-nav navbar-right">
                    <li>
                        <form class="form-inline login-form-div" role="form" style="display:none;">
                            <div class="user-login-msg pull-left hide">
                                <h6 class="puul-right text-danger"></h6>
                            </div>
                            <div class="username-div input-group input-group-sm  ">
                                <span class="input-group-addon">用户名：</span>
                                <input type="text" id="username" name="username" width=20 class="form-control" placeholder="用户名/手机号/邮箱">
                            </div>
                            <div class="password-div input-group input-group-sm  ">
                                <span class="input-group-addon">密&nbsp;&nbsp;&nbsp;&nbsp;码：</span>
                                <input type="password" id="password" name="password" width=20 class="form-control" placeholder="密码">
                            </div>
                            <button class="btn btn-primary btn-xs p10" data-loading-text="Loading..." type="button" id="login">
                                点击登陆
                            </button>
                        </form>
                        <a href="javascript:void(0);" class="login-a">登录</a>
                    </li>
                    <li>
                        <form class="form-inline reg-form-div" role="form" style="display:none;">
                            <div class="user-reg-msg pull-left hide">
                                <h6 class="puul-right text-danger"></h6>
                            </div>
                            <div class="username-reg-div input-group input-group-sm puul-left">
                                <span class="input-group-addon">用户名：</span>
                                <input type="text" id="reg_username" name="reg_username" width=20 class="form-control" placeholder="用户名/手机号/邮箱">
                            </div>
                            <div class="password-reg-div input-group input-group-sm puul-left">
                                <span class="input-group-addon">密&nbsp;&nbsp;&nbsp;&nbsp;码：</span>
                                <input type="text" id="reg_password" name="reg_password" width=20 class="form-control" placeholder="密码">
                            </div>
                            <div class="auth-reg-div input-group input-group-sm puul-left">
                                <span class="input-group-addon">验证码：</span>
                                <input type="text" id="auth_code" name="auth_code" width=20 class="form-control" placeholder="验证码">
                            </div>
                            <button class="btn btn-primary btn-xs p10" data-loading-text="Loading..." type="button" id="register-reg">
                                提交注册
                            </button>
                        </form>
                        <a href="#" class="reg-a">注册</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</div>
<div class="w">
    <div class="my-navigation-div">
        <?php if( !empty($url_list)){ ?>
        <dl class="dl-horizontal">
            <?php foreach ($url_list as $key => $value) { ?>
            <dt><?php print_r($value['cate_name']); ?></dt>
            <dd>
                <ul class="list-inline navigation-ul">
                    <?php foreach ($value['urls'] as $key => $urls) { ?>
                    <?php if($uid != $urls['user_id'] && $urls['is_open']==1) { ?>
                    <?php	continue;?>
                    <?php }?>
                    <li <?php if($urls['is_open']==1){?> style="border:1px solid #ddd;height:18px;width:130px;"<?php } ?>>
                    <a target='_blank' href="<?php echo $urls['url'];?>" title="<?php echo $urls['page_name'];?>">
                        <?php if(!empty($urls['icon'])) { ?>
                        <img class="web-icon-img" src="<?php echo $urls['icon'];?>" width=16>
                        <?php } else { ?>
                        <img class="web-icon-img" src="/static/images/dh.png" width=16>
                        <?php }?>
                        <?php echo $urls['page_name'];?></a>
                    </li>
                    <?php  } ?>
                </ul>
            </dd>
            <?php } ?>
        </dl>
        <?php } else { ?>
        <div class="jumbotron">
            <h2>我的导航，我做主</h2>
            <span class="blog-description">您还没有收藏网站，快登陆到“我的导航”，收藏试试吧</span>
            <br><br>
            <span class="blog-description">
							推荐使用<a class="text-danger" href="http://chrome.360.cn/" target="_blank">“360极速浏览器”</a>，并安装<a class="text-danger" href="https://ext.chrome.360.cn/webstore/detail/iipbfeobdcckmlapebacemfbaibbhkfc"  target="_blank">“我的导航”</a>插件，更方便收藏管理“我的导航”
						</span>
            <br><br>
            <span class="blog-description">
							了解<a href="http://zwb8023.com/document/document/about">“我的导航”</a>请点击 <a href="http://zwb8023.com/document/document/about">关于本站</a>
						</span>
        </div>
        <?php } ?>
    </div>
</div>

<?php if( !empty($rw_list)){ ?>
<div class="w">
    <div class="my-navigation-div">
        <dl class="dl-horizontal">
            <dt>为您推荐</dt>
            <dd>
                <ul class="list-inline navigation-ul">
                    <?php foreach ($rw_list as $key => $urls) { ?>
                    <li>
                        <a target='_blank' href="<?php echo $urls['url'];?>" title="<?php echo $urls['page_name'];?>">
                            <?php if(!empty($urls['icon'])) { ?><img class="web-icon-img" src="<?php echo $urls['icon'];?>" width=16><?php }?>
                            <?php echo $urls['page_name'];?></a>
                    </li>
                    <?php  } ?>
                </ul>
            </dd>
        </dl>
    </div>

</div>
<?php } ?>
<!--
<div class="souchang-div" style="display:none;">
    <form class="form-inline" role="form">

        <div class="cate-name-div form-group input-group input-group-sm">
            <div class="input-group-addon">分类：</div>
            <input class="form-control" type="text" placeholder="网址分类" id="cate_name" name="cate_name" value="" >
        </div>
        <div class="web-name-div form-group input-group input-group-sm">
            <div class="input-group-addon input-group-sm">名称：</div>
            <input class="form-control" type="text" placeholder="网站名称" id="web_name" name="web_name" value="">
        </div>
        <div class="web-url-div form-group input-group input-group-sm">
            <div class="input-group-addon">网址：</div>
            <input class="form-control" type="text" placeholder="网站地址" id="web_url" name="web_url" value="">
        </div>
      <button type="button" class="btn btn-primary btn-xs" id="souchang">提交收藏</button>
    </form>
    <div class="sc-msg pull-left hide">
        <h6 class="pull-right text-danger"></h6>
    </div>
</div>
-->

<div class="w">
    <div class="my-navigation-div">
        <dl class="dl-horizontal">
            <dt>优秀导航</dt>
            <dd>
                <ul class="list-inline navigation-ul">
                    <li>
                        <a target='_blank' href="http://cikewang.com/5466a3bfb2e1eaf1488b4567" title="我的导航-libo">
                            libo
                        </a>
                    </li>
                </ul>
            </dd>
        </dl>
    </div>
</div>


<div class="w">
    <?php if(!isset($uid) || empty($uid)){?>
    <div role="alert" class="my-navigation-div inform alert alert-dismissible fade in">
        <button data-dismiss="alert" class="close inform-close" type="button">
            <span aria-hidden="true">×</span>
            <span class="sr-only">Close</span>
        </button>
        <div class="inform-info">
            <p class="text-info">
                提示：推荐使用<a class="text-danger" href="http://chrome.360.cn/" target="_blank">“360极速浏览器”</a>，并安装<a class="text-danger" href="https://ext.chrome.360.cn/webstore/detail/iipbfeobdcckmlapebacemfbaibbhkfc"  target="_blank">“我的导航”</a>插件，更方便收藏管理“我的导航”
            </p>
        </div>
        <div class="inform-img">
            <img src="/static/images/inform.jpg" alt="温馨提示">
        </div>
    </div>
    <?php } ?>
</div>
<div class="footer">
    <ul class="list-inline">
        <li><a class="text-muted" href="http://zwb8023.com/document/document/about" target="_blank">关于本站</a></li>|
        <li><a class="text-muted" href="http://zwb8023.com/document/document/faq" target="_blank">常见问题</a></li>|
        <li><a class="text-muted" href="https://ext.chrome.360.cn/webstore/detail/iipbfeobdcckmlapebacemfbaibbhkfc" target="_blank">安装插件</a></li>|
        <li><a class="text-muted" href="http://zwb8023.com/document/document/feedback" target="_blank">意见吐槽</a></li>|
        <li><a class="text-muted" href="http://zwb8023.com/document/document/contact" target="_blank">联系我们</a></li>
        <li><span class="beian">皖ICP备17027555号-1</span></li>
    </ul>

</div>
<!--小人只在首页显示 start
<div id="spig" class="spig">
    <div id="message">正在加载中……</div>
    <div id="mumu" class="mumu"></div>
</div>
<script type="text/javascript" src="./js/spig.js"></script>
*-->
<!--小人end*-->
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="/static/js/jquery.cookie.js"></script>
<script src="/static/js/myscript.js"></script>


<!-- 淘宝推广、百度统计、百度分享 JS -->
<!--<script type="text/javascript">-->
<!--    (function(win,doc){ var s = doc.createElement("script"), h = doc.getElementsByTagName("head")[0]; if (!win.alimamatk_show) { s.charset = "gbk"; s.async = true; s.src = "http://a.alimama.cn/tkapi.js"; h.insertBefore(s, h.firstChild); }; var o = { pid: "mm_26798783_2416390_28066391",/*推广单元ID，用于区分不同的推广渠道*/ appkey: "",/*通过TOP平台申请的appkey，设置后引导成交会关联appkey*/ unid: ""/*自定义统计字段*/ }; win.alimamatk_onload = win.alimamatk_onload || []; win.alimamatk_onload.push(o); })(window,document);-->
<!--    window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"6","bdPos":"left","bdTop":"100"}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];-->
<!--    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");-->
<!--    document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F1bc58998ba7c344e32ed4427fa7b016b' type='text/javascript'%3E%3C/script%3E"));-->
<!--</script>-->
</body>
</html>